package com.cyw.common.domain.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * @Author:cyw
 * @CreateTime: 2021/3/31 10:06
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class JudgeDate implements Serializable {

    private static final long serialVersionUID = -3822856295079080417L;

    @NotNull
    private LocalDate date;

    @NotNull
    private Boolean available;

    public JudgeDate(LocalDate date, Boolean available) {
        this.date = date;
        this.available = available;
    }

}

    
    
    
    
    
    
    
    
    

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    